/**
 * Shopware 4.0
 * Copyright © 2012 shopware AG
 *
 * According to our dual licensing model, this program can be used either
 * under the terms of the GNU Affero General Public License, version 3,
 * or under a proprietary license.
 *
 * The texts of the GNU Affero General Public License with an additional
 * permission and of our proprietary license can be found at and
 * in the LICENSE file you have received along with this program.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * "Shopware" is a registered trademark of shopware AG.
 * The licensing of the program under the AGPLv3 does not imply a
 * trademark license. Therefore any rights, title and interest in
 * our trademarks remain entirely with us.
 *
 * @category   Shopware
 * @package    Shopware_Styling
 * @subpackage RowEditing
 * @copyright  Copyright (c) 2012, shopware AG (http://www.shopware.de)
 * @version    $Id$
 * @author shopware AG
 */
 
/** Grid with row editor */
.#{$prefix}grid-row-editor {

	/** Reset  */
	td.#{$prefix}form-item-body {
		@include reset-border-radius;
		padding: 0;
		background: transparent;
	}
	
    .#{$prefix}search-article-live {
        top: 4px !important;

        .#{$prefix}search-article-live-field,
        .#{$prefix}search-article-live-field tbody,
        .#{$prefix}search-article-live-field tbody tr {
            display: block !important;
        }

        .#{$prefix}search-article-live-field tbody tr .#{$prefix}form-item-body {
            width: 100% !important;
        }
    }

    /** Display field */
    .#{$prefix}form-display-field {
        display: none;
    }


    /** Combobox */
    table[id^=combobox] {
        .#{$prefix}form-trigger {
            height: 19px !important;
        }
        table.#{$prefix}form-trigger-wrap .#{$prefix}form-trigger {
            background: url("") no-repeat scroll 0 -2px transparent
        }
        .#{$prefix}form-trigger-wrap-focus .#{$prefix}form-trigger {
            background: url("") no-repeat scroll 0 -2px transparent !important
        }
        table.#{$prefix}form-trigger-wrap .#{$prefix}form-trigger:hover {
            background: url("") no-repeat scroll 0 -2px transparent
        }
    }
    
    /** Numberfield */
    table.#{$prefix}form-trigger-wrap {
		
		.#{$prefix}form-spinner-up, .#{$prefix}form-spinner-down {
			width: 20px !important;
			height: 10px !important;
			background-position: 0 0 !important;
		}
	
		/** Numberfield Button Up - Normal state */
		.#{$prefix}form-spinner-up {
			height: 9px !important;
			background: url("") no-repeat;
		}
		
		/** Numberfield Button Down - Normal state */
		.#{$prefix}form-spinner-down {
			background: url("") no-repeat;
		}
	}

}
